package com.zlm.user.emp.dao;

import com.zlm.common.base.BaseDao;
import com.zlm.common.entity.OrgWorkTimeDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 企业班制Dao
 * @Author: duyufu
 * @Date: 2019/5/27 10:26
 */
@Repository
public interface OrgWorkTimeDao extends BaseDao<OrgWorkTimeDO> {

    OrgWorkTimeDO queryWorkTimeByMaps(Map<String, Object> map);

    OrgWorkTimeDO queryWorkTimeById(@Param("orgWorkTimeId") Integer orgWorkTimeId);

    List<Map<String,Object>> queryOrgWorkTime(@Param("empId") Integer empId);

    int isExistWorkTimeWithOrg(@Param("empId") Integer empId,@Param("orgWorkTimeId") Integer orgWorkTimeId);
}
